package com.sunye.mongodb.service;


import com.sunye.elasticsearch.entity.EsDogSearchDTO;
import com.sunye.mongodb.SearchResponse;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * 商品索引业务层
 *
 * @author paulG
 * @since 2020/10/14
 **/
public interface MongoDogIndexService {

    SearchResponse searchDogsByMongoDB(EsDogSearchDTO dogSearchDTO,Integer start,Integer size);

    List searchMongDbGroupBy(EsDogSearchDTO dogSearchDTO);
}
